package cn.edu.ujn.food.entity;

import org.springframework.stereotype.Component;

import java.io.Serializable;
@Component
public class Category implements Serializable {
    private static final long serialVersionUID = -52754107980886234L;

    private Integer cateId;

    private String cateName;
    private Integer start;

    @Override
    public String toString() {
        return "Category{" +
                "cateId=" + cateId +
                ", cateName='" + cateName + '\'' +
                ", start=" + start +
                ", rows=" + rows +
                '}';
    }

    private Integer rows;

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getCateId() {
        return cateId;
    }

    public void setCateId(Integer cateId) {
        this.cateId = cateId;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

}

